import Vue from "vue";
import App from "./App.vue";
import router from "@/utils/beforeHook";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/sass/rest.scss";
// import "@/utils/beforeHook"
//引入字体图标
import "@/assets/font/iconfont.js"
import "@/assets/font/iconfont.css"
// import "./utils/toTree/toTree"
//  import "./router/generateRoute/index"
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
